package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * 习惯项
 */
@Entity
public class Habit implements Serializable {
    private static final long serialVersionUID = 3386442331988612066L;
    @Id(autoincrement = true)
    private Long id;
    private String title;
    // 描述
    private String desc;
    // 预计时长
    private Integer preMinute;
    // 图标
    private String emojiPath;

    // 重要紧急四象限
    private Integer quadrant;

    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 1089468636)
    public Habit(Long id, String title, String desc, Integer preMinute,
            String emojiPath, Integer quadrant, @NotNull Date createdDt,
            @NotNull Date updatedDt, @NotNull Integer status) {
        this.id = id;
        this.title = title;
        this.desc = desc;
        this.preMinute = preMinute;
        this.emojiPath = emojiPath;
        this.quadrant = quadrant;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 1591984218)
    public Habit() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getDesc() {
        return this.desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
    public Integer getPreMinute() {
        return this.preMinute;
    }
    public void setPreMinute(Integer preMinute) {
        this.preMinute = preMinute;
    }
    public String getEmojiPath() {
        return this.emojiPath;
    }
    public void setEmojiPath(String emojiPath) {
        this.emojiPath = emojiPath;
    }
    public Integer getQuadrant() {
        return this.quadrant;
    }
    public void setQuadrant(Integer quadrant) {
        this.quadrant = quadrant;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    

}
